package com.zlkj.pro.modular.business.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.business.entity.BannerEntity;
import com.zlkj.pro.modular.business.model.dto.BannerDTO;
import com.zlkj.pro.modular.business.model.vo.BannerVO;

import java.util.List;

/**
 * @author liyang
 * @date 2024/4/6
 * @time 14:34
 */
public interface BannerService extends IService<BannerEntity> {

    PageResult<BannerVO> findPage(BannerDTO dto);

    List<BannerVO> findList(BannerDTO dto);

    BannerVO findDetail(BannerDTO dto);

    boolean add(BannerDTO dto);

    boolean edit(BannerDTO dto);

    boolean delete(BannerDTO dto);

    boolean batchDelete(List<Long> ids);
}
